xl: 'replace_string' now uses xstrdup
authorDavid Scott <dave.scott@citrix.com>
Thu, 9 Oct 2014 09:17:30 +0000 (10:17 +0100)
committerIan Campbell <ian.campbell@citrix.com>
Mon, 20 Oct 2014 12:51:29 +0000 (13:51 +0100)
commitd87ab990c1aaa7d083a49081e8b33b8d10a88f7f
treed00471c8f3067143b31f13a1b4f972c2f72b833e
parentbadc6d4474dd6d3582853ca19a65c229f4105da0
xl: 'replace_string' now uses xstrdup

This catches the out-of-memory exception and exits the program.

Signed-off-by: David Scott <dave.scott@citrix.com>
Acked-by: Wei Liu <wei.liu2@citrix.com>
tools/libxl/xl_cmdimpl.c